<page-header [title]="'【' + entity.name + '】的信息'"></page-header>
<nz-card>
  <nz-tabset>
    <nz-tab [nzTitle]="'基本信息'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-salesman-form *ngIf="!isLoading" [entity]="entity" [districtOption]="districtOption" [salesManTypeOption]="salesManTypeOption"  [isModel]="false" (finish)="close($event)"></app-salesman-form>
    </nz-tab>
    <nz-tab [nzTitle]="'我的团队'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-salesman-team [salesmanId]="id" *ngIf="!isLoading"></app-salesman-team>
    </nz-tab>
    <nz-tab [nzTitle]="'我的业绩'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-fans-team-sales *ngIf="!isLoading" [openId]="entity.openId"></app-fans-team-sales>
    </nz-tab>
  </nz-tabset>
</nz-card>
